/* Janus Chat - Version 1.0
 * Authors: Matthew Perry
 *          Michael Freid
 *          Marc Latou
 *          Richard Lee
 *
 * The Janus Chat Client is a highly secured
 * peer-to-peer chat client designed to facilitate
 * the transfer of sensitive data or as a communication
 * medium for the extra paranoid
 *
 * This file contains the header for the preferences dialog
 * which allows the user to change his/her moniker */

#ifndef PREFERENCES_H
#define PREFERENCES_H

#include <QDialog>
#include <string>
using std::string;

namespace Ui {
    class Preferences;
}

class Preferences : public QDialog
{
    Q_OBJECT

    public:
        explicit Preferences(const string& moniker, QWidget *parent = 0);
        ~Preferences();

    private:
        Ui::Preferences *ui;

    signals:
        void monikerChange( const string& str ); /* Emitted when the user presses OK */

    private slots:
        void on_buttonCancel_clicked();
        void on_buttonOK_clicked();
};

#endif // PREFERENCES_H
